package com.atguigu.lease.web.app.mapper;

import com.atguigu.lease.model.entity.LabelInfo;
import com.atguigu.lease.model.entity.ViewAppointment;
import com.atguigu.lease.web.app.vo.appointment.AppointmentDetailVo;
import com.atguigu.lease.web.app.vo.appointment.AppointmentItemVo;
import com.atguigu.lease.web.app.vo.graph.GraphVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author liubo
 * @description 针对表【view_appointment(预约看房信息表)】的数据库操作Mapper
 * @createDate 2023-07-26 11:12:39
 * @Entity com.atguigu.lease.model.entity.ViewAppointment
 */
public interface ViewAppointmentMapper extends BaseMapper<ViewAppointment> {


    //     查询个人预约看房列表
    List<AppointmentItemVo> selectAppointmentItem();


    //     根据ID查询预约公寓最便宜的房间信息
    BigDecimal getMinRentById(Long id);

//    List<GraphVo> selectGraph(Long id);
//
////        查询租约id 对应的 公寓标签
//    List<LabelInfo> selectLabel(Long id);


//         //     根据ID查询预约详情信息
    AppointmentDetailVo getDetailById(Long id);
}




